<script setup>

</script>

<template>
    <div class="lin-footer">
        <div class="top">
            <div class="top-l">
                <h3>
                    友情链接
                </h3>
                <div>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-lianjie"></use>
                    </svg>
                    <a href="https://github.com/maohuohuo666" target="_blank">GitHub</a>
                </div>
            </div>
            <div class="top-r">
                <h3>
                    相关联系
                </h3>
                <div>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-weixin"></use>
                    </svg>
                    <span>微信</span>
                </div>
                <div>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-weibo1"></use>
                    </svg>
                    <span>微博</span>
                </div>
                <div>
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-youxiang-"></use>
                    </svg>
                    <span>邮箱</span>
                </div>
            </div>
        </div>
        <div class="bottom">
            <span>
                Copyright @2022-2024 冒火的麒麟
            </span>
            <a href="https://beian.miit.gov.cn/" target="_blank">黔ICP备2023011224号-1</a>
        </div>
    </div>
</template>

<style lang="scss" scoped>
.lin-footer {
    position: relative;
    bottom: -160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #263843;
    color: #C3CCD3;
    opacity: 0;
    z-index: 999;

    .top {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height:200px;
        .top-l,
        .top-r {
            width: 100px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: left;
            flex-direction: column;
            margin-top: 50px;
            color: #C3CCD3;
            h3{
                padding-bottom: 10px;
                margin-bottom: 10px;
                border-bottom: #C3CCD3 2px solid;
            }
            div {
                width: 100%;
                display: flex;
                align-items: center;  
                font-size: 12px;
                line-height: 16px;
                text-align: left;
                margin-left: 20px;
                .icon{
                    width: 16px;
                    height: 16px;
                    margin-right: 10px;
                }
               
            }
        }
        .top-l{
            a{
                color: #C3CCD3;
            }
        }
        .top-r {
            margin-left: 100px;
        }

    }

    .bottom {
        color: #fff;
        width: 100%;
        height: 50px;
        background-color: #283C48;
        font-size: 12px;
        padding: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;

        span {
            margin-right: 10px;
        }

        a {
            color: #fff
        }
    }
    &:hover{
        bottom: 0;
        opacity: 1;
        transition: all 0.5s ease;
        transition: bottom 0.5s ease;
    }
}
</style>